package com.wanhugou.payment.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Configuration
public class WechatConfig {
	
	@Value("${WX_APPID}")
	private String appid;
	@Value("${WX_APPSECRET}")
	private String appSecret;
	@Value("${WX_MCH_ID}")
	private String mchID;
	@Value("${WX_MCH_SECRET}")
	private String mchKey;
	@Value("${WX_NOTIFY_URL}")
	private String notifyURL;
	@Value("${WX_MCH_APPID}")
	private String mchappid;
	
	public String getMchappid() {
		return mchappid;
	}
	public void setMchappid(String mchappid) {
		this.mchappid = mchappid;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMchID() {
		return mchID;
	}
	public void setMchID(String mchID) {
		this.mchID = mchID;
	}
	public String getAppSecret() {
		return appSecret;
	}
	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}
	public String getNotifyURL() {
		return notifyURL;
	}
	public void setNotifyURL(String notifyURL) {
		this.notifyURL = notifyURL;
	}
	public String getMchKey() {
		return mchKey;
	}
	public void setMchKey(String mchKey) {
		this.mchKey = mchKey;
	}
	
}
